package com.test;

import java.text.CharacterIterator;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.stream.Collectors;



public class Task1 implements Callable<String>{

	private List<String> list;
	public Task1(List<String> list){
		this.list = list;
	}
	@Override
	public String call() throws Exception {
		
		List<String> strs = list.stream().map(s-> String.format("ZMC " +"%s",s )).collect(Collectors.toList());
		System.out.print("thead name"  + ":  " + Thread.currentThread().getName());
		return strs.stream().collect(Collectors.joining("','", "'", "'"));
	}

}
